home *** CD-ROM | disk | FTP | other *** search
- on check_level
- global max_littleships, lil_shiplist, max_astroids, astroidlist
- repeat with t = 23 to 22 + max_littleships
- if the visible of sprite t = 1 then
- return
- end if
- end repeat
- repeat with t = 12 to 11 + count(astroidlist)
- if the visible of sprite t = 1 then
- return
- end if
- end repeat
- new_level()
- end
-
- on adjust
- global statlist
- repeat with n = 1 to 48
- set the visible of sprite n to 1
- puppetSprite(n, 0)
- end repeat
- go(getAt(statlist, 6))
- repeat with n = 1 to 20
- puppetSprite(n, 1)
- end repeat
- repeat with n = 12 to 16
- set the width of sprite n to getAt(statlist, n - 11)
- end repeat
- end
-